projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcba667
)
ioemu: COW driver flush method should return an int.
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 15 Apr 2008 15:04:30 +0000
(16:04 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 15 Apr 2008 15:04:30 +0000
(16:04 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/ioemu/block-cow.c
patch
|
blob
|
history
diff --git
a/tools/ioemu/block-cow.c
b/tools/ioemu/block-cow.c
index 07c8a7bf167a704b835ad44ae2a82b37cc70da6d..eeee9a1cc43ed3e670630810ecd8c371d005602a 100644
(file)
--- a/
tools/ioemu/block-cow.c
+++ b/
tools/ioemu/block-cow.c
@@
-246,10
+246,11
@@
static int cow_create(const char *filename, int64_t image_sectors,
return 0;
}
-static
void
cow_flush(BlockDriverState *bs)
+static
int
cow_flush(BlockDriverState *bs)
{
BDRVCowState *s = bs->opaque;
fsync(s->fd);
+ return 0;
}
BlockDriver bdrv_cow = {